package com.dap.cms.governance.po;

import com.dap.dao.BasePo;
import org.hibernate.validator.constraints.NotBlank;

import javax.validation.constraints.NotNull;
import java.util.Date;

/**
 * @description: cms_application_form表对应的实体类
 * @author: Fesine
 * @createTime:2018/09/19
 * @update:修改内容
 * @author: Fesine
 * @updateTime:2018/09/19
 */
public class CmsApplicationFormPo extends BasePo {
	private static final long serialVersionUID = 1L;
	/**
	 * alias
	 */
	public static final String TABLE_ALIAS = "CmsApplicationForm";
	public static final String ALIAS_ID = "id";
	public static final String ALIAS_REQUEST_USER_ID = "申请人id";
	public static final String ALIAS_COMPONENT_ID = "申请组件id";
	public static final String ALIAS_COMPANY_ID = "公司id";
	public static final String ALIAS_SYS_ID = "sysId";
	public static final String ALIAS_COMPONENT_NAME = "componentName";
	public static final String ALIAS_COMPANY_NAME = "companyName";
	public static final String ALIAS_SYS_NAME = "sysName";
	public static final String ALIAS_REQUEST_TIME = "申请时间";
	public static final String ALIAS_STATUS = "申请状态标识 0：申请中 1：申请通过 2：申请驳回";
	

	//columns START
    /**
     * id       db_column: id 
     */ 	
	private Integer id;
    /**
     * 申请人id       db_column: request_user_id 
     */
	@NotNull(message = "参数requestUserId不能为空")
	private Integer requestUserId;
    /**
     * 申请组件id       db_column: component_id 
     */
	@NotNull(message = "参数componentId不能为空")
	private Integer componentId;
    /**
     * 公司id       db_column: company_id 
     */
	@NotNull(message = "参数companyId不能为空")
	private Integer companyId;
    /**
     * sysId       db_column: sys_id 
     */
	@NotNull(message = "参数sysId不能为空")
	private Integer sysId;
    /**
     * componentName       db_column: component_name 
     */ 	
	private String componentName;
    /**
     * companyName       db_column: company_name 
     */
	@NotBlank(message = "参数companyName不能为空")
	private String companyName;
    /**
     * sysName       db_column: sys_name 
     */
	@NotBlank(message = "参数sysName不能为空")
	private String sysName;
	/**
	 * requestUserName   db_column: request_user_name
	 */
	@NotBlank(message = "参数requestUserName不能为空")
	private String requestUserName;
    /**
     * 申请时间       db_column: request_time 
     */ 	
	private Date requestTime;
    /**
     * 申请状态标识 0：申请中 1：申请通过 2：申请驳回       db_column: status 
     */ 	
	private Integer status;
	//columns END

	
	public Integer getId() {
		return this.id;
	}
	
	public void setId(Integer id) {
		this.id = id;
	}

	
	public Integer getRequestUserId() {
		return this.requestUserId;
	}
	
	public void setRequestUserId(Integer requestUserId) {
		this.requestUserId = requestUserId;
	}

	
	public Integer getComponentId() {
		return this.componentId;
	}
	
	public void setComponentId(Integer componentId) {
		this.componentId = componentId;
	}

	
	public Integer getCompanyId() {
		return this.companyId;
	}
	
	public void setCompanyId(Integer companyId) {
		this.companyId = companyId;
	}

	
	public Integer getSysId() {
		return this.sysId;
	}
	
	public void setSysId(Integer sysId) {
		this.sysId = sysId;
	}

	
	public String getComponentName() {
		return this.componentName;
	}
	
	public void setComponentName(String componentName) {
		this.componentName = componentName;
	}

	
	public String getCompanyName() {
		return this.companyName;
	}
	
	public void setCompanyName(String companyName) {
		this.companyName = companyName;
	}

	
	public String getSysName() {
		return this.sysName;
	}
	
	public void setSysName(String sysName) {
		this.sysName = sysName;
	}

	
	public Date getRequestTime() {
		return this.requestTime;
	}
	
	public void setRequestTime(Date requestTime) {
		this.requestTime = requestTime;
	}

	public String getRequestUserName() {
		return requestUserName;
	}

	public void setRequestUserName(String requestUserName) {
		this.requestUserName = requestUserName;
	}

	public Integer getStatus() {
		return this.status;
	}
	
	public void setStatus(Integer status) {
		this.status = status;
	}


	

}

